#ifndef SRCEEN_H
#define SRCEEN_H

#ifdef __cplusplus
extern "C"
{

#include <stdio.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <strings.h>
#include <errno.h>
#include <stdlib.h>
#include <linux/input.h>


#endif

#ifdef __cplusplus
}
#endif

#define SCREEN_TOUCH 0
#define SCREEN_RELEASE 1
#define SCREEN_COORDINATE 2
#define SCREEN_ERR -1

//屏幕类，用来获取坐标
class Screen
{
public:
    Screen();
    ~Screen();
    int get_touch_status(int *x, int *y);
    
protected:
    int ts_fd;
      

};






#endif/*SRCEEN_H*/